package com.bitnei.battery.constants;

/**
 * @author czl
 * @email czl_nylg@163.com
 * @date 2018/6/21 15:09
 * @Version 1.0
 * @Description: 产品类型
 */
public enum  ProductType {


    P("电池包","P"),

    M("电池模块","M"),

    C("单体电池","C"),

    V("车辆","V"),

    T("顶层","T"),

    R("记录","R");


    private String name;

    private String code;

    ProductType(String name, String code){
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
